<%= form_tag passwords_url, method: :post do %>
  <fieldset>
    <legend>Password Reset</legend>

    <div class="control-group">
      <%= label_tag :email, "Email", class: "control-label" %>

      <div class="controls">
        <div class="input-prepend">
          <span class="add-on"><i class="icon-envelope"></i></span>
          <%= email_field_tag :email %>
        </div>
      </div>
    </div>

    <div class="control-group">
      <div class="controls">
        <%= button_tag type: "submit", class: "btn btn-large btn-primary" do %>
          <i class="icon-ok icon-white"></i> Submit
        <% end %>

        or

        <%= link_to login_url, class: "btn btn-large" do %>
          <i class="icon-user"></i> Login
        <% end %>
      </div>
    </div>

  </fieldset>
<% end %>
